﻿using System;

namespace Labthink.PCSoft.UniversalHost4.Instrument.Model
{
    public class ComEventArgs : EventArgs
    {

    }
    public class ComParameterEventArgs : ComEventArgs
    {

        public double PmUpperTemp { get; set; }

        public double PmLowerTemp { get; set; }

        public double PmPressure { get; set; }
        public double PmTime { get; set; }

        public string SampleInfo { get; set; }
    }
    public class ComStartEventArgs : ComEventArgs
    {
        public int TestNo { get; set; } //试验编号

        public int TestId { get; set; }
    }

        public class ComRealTimeDataEventArgs : ComEventArgs
    {
        public double RtTime { get; set; }
        public double RtPressure { get; set; }

        public double RtUpperTemp { get; set; }

        public double RtLowerTemp { get; set; }
    }

    public class ComResultEventArgs : ComEventArgs
    {
        public int TestNo { get; set; } //工位
        public int TestId { get; set; }


        public int nQualified { get; set; }

    }

    public class ComTestStatusEventArgs : ComEventArgs
    {
        public int TestId { get; set; } //试验编号
        public int Station { get; set; } //工位
        public TestStatus Status { get; set; }
        public int deltaTime { get; set; } //与第一组开始时间的时间差
    }

    public class ComByteCountEventArgs : EventArgs
    {
        public int ReceivedCount { get; set; }

        public int SentCount { get; set; }
    }
}
